package com.jwdf.uda.event;

import com.jwdf.uda.bean.PbBean;
import com.jwdf.uda.utils.EventBusUtil;
import java.util.List;

/**
 * Created by Administrator on 2016/12/27.
 */
public class InvitationEvent implements EventBusUtil.IEvent {

    public static final int INVITATION_ADD = 0x1;
    public static final int INVITATION_ANSWER = 0x2;

    public List<PbBean.PbUserSimple> Infos;
    public PbBean.PbUserSimple userSimple;
    int event;

    public InvitationEvent(int event , PbBean.PbUserSimple userSimple) {
        this.event=event;
        this.userSimple = userSimple;
    }
    public InvitationEvent( PbBean.PbUserSimple userSimple) {
        this.userSimple = userSimple;
    }

    public InvitationEvent(int event) {
        this.event=event;
    }

    public PbBean.PbUserSimple getUserSimple(){
        return userSimple;
    }

    public int getEvent() {
        return event;
    }

}
